﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MemberSignIn.ascx.cs" Inherits="SocialFront.Web.usercontrols.Membership.MemberSignIn" %>
<asp:ScriptManager ID="_scriptManager1" runat="server"></asp:ScriptManager>

<asp:Literal ID="_errorDisplay" runat="server"></asp:Literal>

<asp:Panel id="PanelSignIn" runat="server" DefaultButton="ButtonLogin">
<div id="communityGeneral">
    <div id="umbMemberControlsLogin">
        <h1>Login</h1>
        <fieldset>
        <div class="errorReport"><asp:Literal ID="_userError" runat="server" Visible="false"></asp:Literal></div>
        <div class="form-row">
            <div class="form-left">
            <asp:Label runat="server" AssociatedControlID="TextBoxUserName" ID="usernameLabel" CssClass="umbMemberControlsLabel" >
            <asp:Literal id="LiteralUsername" runat="server" Text="Username"></asp:Literal>
            </asp:Label></div>
            <div class="form-right">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please enter your username" ControlToValidate="TextBoxUserName" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox id="TextBoxUserName" runat="server"></asp:TextBox></div>
        </div>

        <div class="form-row">
            <div class="form-left"><asp:Label runat="server" AssociatedControlID="TextBoxPassword" ID="passwordLabel" CssClass="umbMemberControlsLabel"><asp:Literal id="LiteralPassword" runat="server" Text="Password"></asp:Literal>
        </asp:Label></div>
            <div class="form-right">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Password is Required" ControlToValidate="TextBoxPassword" Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:TextBox id="TextBoxPassword" runat="server" TextMode="Password"></asp:TextBox>
            <p class="forgot-password"><a href="<%= umbraco.library.NiceUrl(-1) %>">Forgotten your password?</a></p></div>
        </div>
        


        <div class="form-submit"><asp:Button id="ButtonLogin" runat="server" Text="Login" CssClass="umbMemberControlsButton" onclick="ButtonLogin_Click"></asp:Button>
        
        </div>

        </fieldset>
       
    </div>
</div>
</asp:Panel>

<asp:Panel id="PanelSignOut" runat="server">

    <umbraco:Macro Alias="MemberSignedIn" runat="server"></umbraco:Macro>


<!--
    <div id="signed_up">
		
		<div class="thank_you">
			<div class="sign_holder">
			<img src="media/ImageStyle/thank_you.gif"/>
			<img class="signup_arrow" src="media/ImageStyle/signup_arrow.gif"/>
			</div>
			<umbraco:Item field="Col1Col2Text" runat="server"></umbraco:Item>
		</div>
		
		<div class="update_profile">
			<div class="sign_holder">
			<a href="http://community.thisiscentralstation.com/<%= HttpContext.Current.User.Identity.Name %>?st=<%= Session["sessionToken"] %>&tid=<%= Session["transactionId"] %>"><img src="media/ImageStyle/update_profile.gif" /></a>
			</div>
			<h3><a href="http://community.thisiscentralstation.com/<%= HttpContext.Current.User.Identity.Name %>?st=<%= Session["sessionToken"] %>&tid=<%= Session["transactionId"] %>"><umbraco:Item field="Col3HeaderText" runat="server"></umbraco:Item></a></h3>
			<umbraco:Item field="Col3Text" runat="server"></umbraco:Item>
		</div>	

		<div class="meet_other_members">
			<div class="sign_holder">
			<a href="http://community.thisiscentralstation.com/view/displayManageMyMedia.kickAction?as=126249&st=<%= Session["sessionToken"] %>&tid=<%= Session["transactionId"] %>"><img src="media/ImageStyle/meet_members.gif"/></a>
			</div>
			<h3><a href="http://community.thisiscentralstation.com/view/displayManageMyMedia.kickAction?as=126249&st=<%= Session["sessionToken"] %>&tid=<%= Session["transactionId"] %>"><umbraco:Item field="Col4HeaderText" runat="server"></umbraco:Item></a></h3>
			<umbraco:Item field="Col4Text" runat="server"></umbraco:Item>
		</div>						

		<div class="explore_collections">
			<div class="sign_holder">
			<a href="#"><img src="media/ImageStyle/explore.gif"/></a>
			</div>
			<h3><a href="#"><umbraco:Item field="Col5HeaderText" runat="server"></umbraco:Item></a></h3>
			<umbraco:Item field="Col5Text" runat="server"></umbraco:Item>
		</div>						
		
		<div style="clear: both"> </div>
	</div>
-->
</asp:Panel>